package com.acaslless.core.constant;


/**
 * redis 常量
 *
 * @author haohan
 * @date 2024/7/30 11:15
 **/
public class RedisConstant {

    /**
     * 前缀
     */
    public static final String PREFIX = "AC:";

    /**
     * 模块
     * <p>
     * 授权模块
     * 系统模块
     * 配置
     */
    public static final String AUTH = PREFIX + "AUTH:";
    public static final String SYSTEM = PREFIX + "SYSTEM:";
    public static final String ESI = PREFIX + "ESI:";


    /**
     * 锁
     * */
    public static final String CLOUD_LOCK = PREFIX + "CLOUD_LOCK:";

    /**
     * token 相关
     */
    public static final String REFRESH_TOKEN = AUTH + "REFRESH_TOKEN:";
    public static final String ACCESS_TOKEN = AUTH + "ACCESS_TOKEN:";
    public static final String TOKEN_INFO = AUTH + "TOKEN_INFO:";

    /**
     * 用户信息
     * */
    public static final String USER_INFO = AUTH + "USER_INFO:";

    /**
     * 验证码相关
     * */
    public static final String CAPTCHA_PREFIX = AUTH + "CAPTCHA:";
    public static final String CAPTCHA_CODE_KEY = CAPTCHA_PREFIX + "CAPTCHA_CODE_KEY:";
    public static final String CAPTCHA_SIGN_IN_CODE = CAPTCHA_PREFIX + "SIGN_IN_CODE:";
    public static final String CAPTCHA_SIGN_UP_CODE = CAPTCHA_PREFIX + "SIGN_UP_CODE:";
    public static final String CAPTCHA_RESET_PASSWORD_CODE = CAPTCHA_PREFIX + "RESET_PASSWORD_CODE:";

    /**
     * 配置
     *
     * OSS默认配置
     * OSS配置
     * */
    public static final String CONFIG = PREFIX + "CONFIG:";
    public static final String OSS_DEFAULT_CONFIG = CONFIG + "OSS_DEFAULT:";
    public static final String OSS_CONFIG = CONFIG + "OSS:";

    /**
     * ESI 模块
     *
     * 第三方授权token信息
     * token生成携带自定义用户参数id
     * 主要角色信息
     * */
    public static final String ESI_TOKEN = ESI + "TOKEN:";
    public static final String ESI_TOKEN_STATE = ESI + "TOKEN_STATE:";
    public static final String ESI_MAIN_CHARACTER = ESI + "MAIN_CHARACTER:";

    /**
     * 技能队列信息
     * */
    public static final String ESI_SKILL = ESI + "SKILL:";
    public static final String ESI_SKILL_QUEUE = ESI_SKILL + "QUEUE";


    /**
     * 市场信息
     * 市场物品类型
     * 市场物品信息列表
     * 市场物品信息map
     * 市场物品组map
     * 市场当前价格map（全部商品）24h
     * */

    public static final String ESI_MARKET = ESI + "MARKET:";
    public static final String ESI_MARKET_TYPE = ESI_MARKET + "TYPE:";
    public static final String ESI_MARKET_TYPE_LIST = ESI_MARKET_TYPE + "TYPE_LIST:";
    public static final String ESI_MARKET_TYPE_MAP = ESI_MARKET_TYPE + "TYPE_MAP:";
    public static final String ESI_MARKET_GROUP_MAP = ESI_MARKET_TYPE + "GROUP_MAP:";
    public static final String ESI_MARKET_ORDER = ESI_MARKET + "ORDER:";
    public static final String ESI_MARKET_ORDER_ALL_PRICE_MAP = ESI_MARKET_ORDER + "ALL_PRICE_MAP:";



}
